package com.hospital.pharmacy.dao;

import com.hospital.pharmacy.entity.OverdueRecord;
import com.hospital.pharmacy.entity.OverdueRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OverdueRecordMapper {
    long countByExample(OverdueRecordExample example);

    int deleteByExample(OverdueRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OverdueRecord record);

    int insertSelective(OverdueRecord record);

    List<OverdueRecord> selectByExample(OverdueRecordExample example);

    OverdueRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OverdueRecord record, @Param("example") OverdueRecordExample example);

    int updateByExample(@Param("record") OverdueRecord record, @Param("example") OverdueRecordExample example);

    int updateByPrimaryKeySelective(OverdueRecord record);

    int updateByPrimaryKey(OverdueRecord record);
}